<div class="pageContent">
	
	<form method="post" action="/index.php?act=order&st=orderEdit" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
		<input type="hidden" name="id" value="{$id}" />
		<div class="pageFormContent" layoutH="58">

			<!--<p>
				<label>业务员微信ID号：</label>
				<input name="sales_id" type="text" size="30" value="" class="required" errormsg="请输入业务员ID" alt="业务员微信ID以#分割,最多5个"/>
			</p>-->
			<p>
				<label>销售经理：</label>
				<input name="sales_name" type="text" size="30" value="{$order.sales_name}" class="required" errormsg="请输入销售经理"/>
			</p>
			<p>
				<label>购货单位：</label>
				<input name="sales_customer" type="text" size="30" value="{$order.sales_customer}" class="required" errormsg="请输入购货单位"/>
			</p>
			<p>
				<label>合同编号：</label>
				<input name="agreement_no" type="text" size="30" value="{$order.agreement_no}" class="required" errormsg="请输入合同编号" />
			</p>
			<p>
				<label>产品名称：</label>
				<input name="produce_name" type="text" size="30" value="{$order.produce_name}" class="required" errormsg="请输入产品名称" />
			</p>
			<p>
				<label>材质：</label>
				<input name="material" type="text" size="30" value="{$order.material}" class="required" errormsg="请输入材质" />
			</p>
			<!--<p>
				<label>产品大类：</label>
				<select class="combox required" name="produce_class_id" ref="produce_id" refurl="/index.php?act=formula&st=get_small_class&id={value}" errormsg="请选择产品小大类">
					<option value="">选择产品大类</option>
					{foreach item=item from=$big_class}
					<option value="{$item.product_class_id}" {if $item.product_class_id eq $order.produce_class_id}selected{/if}>{$item.class_name}</option>
					{/foreach}
				</select>
			</p>
			<p>
				<label>产品小类：</label>
				<select class="combox required" name="produce_id" id="produce_id" errormsg="请选择产品小类">
					<option value="">选择产品小类</option>
					{foreach item=item from=$small_class}
					<option value="{$item.product_id}" {if $item.product_id eq $order.produce_id}selected{/if}>{$item.produce_name}</option>
					{/foreach}
				</select>
			</p>-->
			<p>
				<label>规格：</label>
				<input name="format" type="text" size="30" value="{$order.format}" class="required" errormsg="请输入规格" />
			</p>
			<!--<div class="divider"></div>
			<p>
				<label>负责区域：</label>
				<input name="sales_area" type="text" size="30" value="" class="required" errormsg="请输入负责区域"/>
			</p>
			<p>
				<label>负责产品：</label>
				<input name="sales_produce" type="text" size="30" value="" class="required" errormsg="请输入负责产品"/>
			</p>-->
			<div class="divider"></div>
			<p>
				<label>合同重量：</label>
				<input name="agreement_weight" class="number" type="text" size="30" value="{$order.agreement_weight}" errormsg="请输入合同重量"/>
			</p>
			<p>
				<label>合同回签时间：</label>
				<input type="text" name="agreement_sign_date" class="date" size="30" errormsg="请输入合同回签时间" value="{$order.agreement_sign_date}" dateFmt="yyyy-MM-dd" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>合同到款日期：</label>
				<input type="text" name="agreement_date" class="date" size="30" errormsg="请输入合同到款日期" dateFmt="yyyy-MM-dd" readonly="true" value="{$order.agreement_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>计划到货日期：</label>
				<input type="text" name="arrive_date" class="date" size="30" errormsg="请输入计划到货日期" dateFmt="yyyy-MM-dd" readonly="true" value="{$order.arrive_date}"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>排产日期：</label>
				<input type="text" name="schedul_date" class="date" size="30" errormsg="请输入排产日期" dateFmt="yyyy-MM-dd" value="{$order.schedul_date}" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>下单重量：</label>
				<input name="order_weight" class="number" type="text" size="30" value="{$order.order_weight}" errormsg="请输入下单重量"/>
			</p>
			<p>
				<label>出厂重量：</label>
				<input name="factory_weight" class="number" type="text" size="30" value="{$order.factory_weight}" errormsg="请输入出厂重量"/>
			</p>
			<p>
				<label>未下单重量：</label>
				<input name="unorder_weight" class="number" type="text" size="30" value="{$order.unorder_weight}" errormsg="请输入未下单重量"/>
			</p>
			<p>
				<label>运输方式：</label>
				<input name="transport" type="text" size="30" value="{$order.transport}" errormsg="请输入运输方式" />
			</p>
			<p>
				<label>送货地址：</label>
				<input name="produce_address" type="text" size="30" value="{$order.produce_address}" errormsg="请输入送货地址" />
			</p>
			<!--<p>
				<label>合同金额(万元)：</label>
				<input name="agreement_amount" class="number required" type="text" size="30" value="" errormsg="请输入合同金额"/>
			</p>
			<p>
				<label>累计出厂量(吨)：</label>
				<input name="produce_total_amount" class="number required" type="text" size="30" value="{$order.produce_total_amount}" errormsg="请输入累计出厂量"/>
			</p>
			<p>
				<label>是否排产：</label>
				<select class="combox" name="scheduling">
					<option value="0">否</option>
					<option value="1">是</option>
				</select>
			</p>
			<div class="divider"></div>
			
			<p>
				<label>出厂日期：</label>
				<input type="text" name="produce_date" class="date required" size="30" errormsg="请输入出厂日期" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>
			<p>
				<label>首批离港日期：</label>
				<input type="text" name="first_date" class="date required" size="30" errormsg="请输入首批离港日期" dateFmt="yyyy-MM-dd HH:mm:ss" readonly="true"/><a class="inputDateButton" href="javascript:;">选择</a>
			</p>-->
		</div>

		<div class="formBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">提交</button></div></div></li>
				<li><div class="button"><div class="buttonContent"><button type="button" class="close">取消</button></div></div></li>
			</ul>
		</div>

	</form>

</div>

